
<body background="{{STATIC_URL}}/static/img/background.jpg" >
    {% include "include/menubar.html" %}
    </br>
    </br>
    <div class="container_16">
        <div id="ogrenc_goruntule" class="grid_6 push_5">
            <table id="ogrenci_table" border="3">
                <tr>
                    <td>Öğrenci Numarası:</td><td>{{ogrenci.username}}</td>
                </tr>
                <tr>
                    <td>Öğrenci Adı:</td> <td>{{ ogrenci.first_name}}</td>
                </tr>
                <tr>
                    <td>Sınıf:</td><td>{{ ogrbilgisi.sinif}}</td>
                </tr>
            </table>
        </div>
        
        <div class='clear'>&nbsp;</div>

        <div class="grid_5 push_4">
            <form action="{% url obsapp.views.saveCourse %}" method="POST">
            <table border=1 align="center">
                {% for acilanders in acilandersler %}
                <tr>  {% if acilanders.dersKodu.id in aldigidersler %}
                    <td><input type="checkbox" value={{acilanders.dersKodu.id}} name="acilanders" checked></td><td>{{acilanders.dersKodu.dersKodu}} {{acilanders.dersKodu.dersAdi}}</td><br/>
                    {%else%}
                    <td><input type="checkbox" value={{acilanders.dersKodu.id}} name="acilanders" ></td><td>{{acilanders.dersKodu.dersKodu}} {{acilanders.dersKodu.dersAdi}}</td><br/>
                        {% endif %}
                </tr>
                {% endfor %}

            </table>
            </br>
            <div class="grid_2 push_6">
                <input type="submit" value="kaydet">
            </div>
            </form>
        </div>
    </div>
